package com.wanjia.estate.pojo.tax;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AccessLevel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class A018 {

    @Data
    public static class Taxbizml<T> implements Serializable {
        @JSONField(name = "FCJYEWMLIST")
        private T fcjyewmlist;
    }

    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class RequestEighteen extends CommonRoot<Taxbizml<List<RequestFcjyewmlist>>> {

    }

    @Data
    public static class RequestFcjyewmlist implements Serializable {
        @JSONField(name = "SJBH")
        private String sjbh;
        @JSONField(name = "SJGSDQ")
        private String sjgsdq;
        @JSONField(name = "HTBH")
        private String htbh;
        @JSONField(name = "NSRSBH")
        private String nsrsbh;
        @JSONField(name = "NSRMC")
        private String nsrmc;
        @JSONField(name = "DJXH")
        private String djxh;
        @JSONField(name = "PZXH")
        private String pzxh;
        @JSONField(name = "YZPZMXXH")
        private String yzpzmxxh;
        @JSONField(name = "YZPZZLDM")
        private String yzpzzldm;
        @JSONField(name = "ZGSWSKFJDM")
        private String zgswskfjdm;
        @JSONField(name = "SKSSQQ")
        private String skssqq;
        @JSONField(name = "SKSSQZ")
        private String skssqz;
        @JSONField(name = "YBTSE")
        private BigDecimal ybtse;
        @JSONField(name = "LRRDM")
        private String lrrdm;

    }

//    @Data
//    public static class Response {
//        private int code;
//        private ResponseDataEighteen data;
//        private String message;
//    }
//
//    @Data
//    public static class ResponseDataEighteen implements Serializable {
//        private TaxbizmlEighteen taxbizml;
//    }

    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class Response extends CommonRoot<TaxbizmlEighteen> {
    }

    @Data
    public static class TaxbizmlEighteen implements Serializable {
        @JSONField(name = "FCJYJKERMJG")
        private Fcjyjkermjg fcjyjkermjg;
        @JSONField(name = "KKEWM")
        private Kkewm kkewm;

    }

    // 返回全局信息
    @Data
    public static class Fcjyjkermjg implements Serializable {
        @JSONField(name = "FHM")
        private String fhm;
        @JSONField(name = "FHXX")
        private String fhxx;
    }

    @Data
    public static class Kkewm implements Serializable {
        @JSONField(name = "DZSPHM")
        private String dzsphm;
        @JSONField(name = "KKJE")
        private String kkje;
        @JSONField(name = "EWM")
        private String ewm;
    }
}
